import turtle

# 创建一个窗口和画笔
screen = turtle.Screen()
screen.bgcolor("black")

pen = turtle.Turtle()
pen.speed(0)
pen.color("white")

# 绘制曼陀罗图案
def draw_mandala():
    for i in range(18):
        pen.circle(50)
        pen.left(20)
        for j in range(6):
            pen.circle(25)
            pen.left(60)

draw_mandala()

# 点击关闭窗口
screen.exitonclick()